package cn.jcet.service;

import cn.jcet.domain.User;
import com.baomidou.mybatisplus.extension.service.IService;
/**
 * @author 鲜磊
 */
public interface UserService{

    /**
     * 更具手机号查询用户
     * @param phone
     * @return User
     */
    User queryUserByPhone(String phone);

    /**
     * 根据用户id查询
     * @param userId
     * @return user
     */
    User getOne(Long userId);
}
